﻿#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include "../typedef.h"
#include <QtWebKitWidgets/QWebView>
#include <QMainWindow>
#include <QEvent>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private:
    Ui::MainWindow *ui;

    // member function for html
protected:
    // load html page
    pem_void_t	LoadFile( pem_s8_t* file );

    // get the QWebView object pointer
    QWebView*	webView();
};

#endif // MAINWINDOW_H
